package com.example.service;

import com.example.entity.authority.Party;
import com.example.ext.entity.ExtParty;
import org.springframework.web.multipart.MultipartFile;

import java.util.Map;

/**
 * Created by youkun on 2017/9/9.
 */
public interface PartyService {

    public Map<String,Object> queryList(ExtParty extParty);

    public Map<String, Object> queryRandomList(Map mao);

    public Map<String,Object> add(Party party);

    public Map<String,Object> update(Party party);

    public Map<String,Object> deleteById(String id);

    public Map<String,Object> queryById(String id);

    public Map<String,Object> queryByIdList(String id);

    public Map<String,Object> queryByIdAndTypeList(Party party);

    public Map<String,Object> importExcelParty(MultipartFile file,String parentId);

    public Map<String,Object> checkParytIdMessage(String partyId);

    public Map<String,Object>  queryByNameLk(Map map);

    Map<String,Object> queryPartyByPartyLevel(Map map);
}
